package edu.gatech.arktos;

import java.util.Map;

/**
 * Assignment Object
 * @author Daranhdara Hun
 */

public class Assignment implements AssignmentInterface {
	String description; // Description
	String name; // Assignments
	int grade, assignmentNumber;
	Map<Student, Integer> scores;
	
	public Assignment(String name,String description){
		this.description = description;
		this.name = name;
	}
	
	/**
	 * Getter
	 * @return description - name of assignment
	 */
	public String getDescription(){
		return this.description;
	}
	
	/**
	 * Getter
	 * @return name - Assignment Number
	 */
	public String getName(){
		return this.name;
	}
	
	/**
	 * Getter
	 * @return grade - assignment grade
	 */
	public int getGrade(){
		return this.grade;
	}
	
	public void setGrade(int grade){
		this.grade = grade;
	}


	@Override
	public void setScores(Map<Student, Integer> scores) {
		this.scores = scores;
	}

	@Override
	public int getAssignmentNumber() {
		return this.assignmentNumber;
	}

	@Override
	public void setAssignmentNumber(int assignmentNumber) {
		this.assignmentNumber = assignmentNumber;
	}

	@Override
	public String getAssignmentDescription() {
		return this.description;
	}

	@Override
	public void setAssignmentDescription(String assignmentDescription) {
		this.description = assignmentDescription;
		
	}

	@Override
	public Map<Student, Integer> getScores() {
		return this.scores;
	}
	
}
